//
// Created by dong on 2025/10/21.
//

#ifndef SDL_DRAW_TOOLS_COLORBAR_H
#define SDL_DRAW_TOOLS_COLORBAR_H
#include "Button.h"

class ColorBar
{
public:
    ColorBar();
    bool mousePressEvent(SDL_Event* msg);
    void render(SDL_Renderer* render);
    SDL_Color color();
protected:
    vector<Button> m_colorBar;
    int isClicked;
    Button* colorView;
};


#endif //SDL_DRAW_TOOLS_COLORBAR_H